package cn.com.roy.thread.t3_1_3.test3;

public class RunCls {
    public static void main(String[] args) {
        try {
            Object lock = new Object();
            ThreadA a = new ThreadA(lock);
            a.start();

            Thread.sleep(1000);

            ThreadB b = new ThreadB(lock);
            b.start();

        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
